package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.PersonMessage;
import cn.wolfcode.trip.base.query.PersonMessageQuery;

import java.util.List;

public interface IPersonMessageService {

    void insert(Long sourceId, Long targetId, String content);

    List<PersonMessage> selectAll(int state);

    void delete(Long targetUserId);

    void changeState(int state, Long targetId);

    List<PersonMessage> queryLsit(Long targetId, int state);
}
